<%@ include file="common.jsp"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
body {
	overflow-x: hidden;
	overflow-y: hidden;
}

.color-block {
	width: 250px;
	height: 300px;
	cursor: pointer;
}

.color-block img {
	width: 100%;
}

.color-block span {
    font-size: 40px;
    font-weight: bold;
}
</style>
</head>
<body>
	<div class="row" style="margin-top: 100px;">
		<div class="col-sm-6" align="center">
			<div class="color-block" onclick="recharge()">
				<img src="../../images/i_recharge.png">
				<span>积分充值</span>
			</div>
		</div>
		<div class="col-sm-6" align="center">
			<div class="color-block" onclick="exchange()">
				<img src="../../images/i_debit.png">
				<span>积分兑换</span>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	var model;

	function recharge() {
		model = 1;
		layer.open({
			type : 2,
			title : '积分充值',
			area : [ '800px', '205px' ],
			content : 'update_im.jsp'
		});
	}
	
	function exchange() {
		model = -1;
		layer.open({
			type : 2,
			title : '积分兑换',
			area : [ '800px', '205px' ],
			content : 'update_im.jsp'
		});
	}
</script>
</html>